<!DOCTYPE html>
<html>
    <head>
	<title>css内边距</title>
	<meta charset="UTF-8">
	<style>
	    div{
		width: 300px;
		height: 300px;
		background: red;
		color: #fff;
		/*padding: 20px 100px 50px 10px;*/ 
		padding-right: 50px;
	    }
	</style>
    </head>
    <body>
	
	<div>这是一个div</div>
	
    </body>
</html>
